toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authorized != null) 'authorized': authorized!,
      if (createInFolderTemplate != null)
        'createInFolderTemplate': createInFolderTemplate!,
      if (createUrl != null) 'createUrl': createUrl!,
      if (hasDriveWideScope != null) 'hasDriveWideScope': hasDriveWideScope!,
      if (icons != null) 'icons': icons!,
      if (id != null) 'id': id!,
      if (installed != null) 'installed': installed!,
      if (kind != null) 'kind': kind!,
      if (longDescription != null) 'longDescription': longDescription!,
      if (name != null) 'name': name!,
      if (objectType != null) 'objectType': objectType!,
      if (openUrlTemplate != null) 'openUrlTemplate': openUrlTemplate!,
      if (primaryFileExtensions != null)
        'primaryFileExtensions': primaryFileExtensions!,
      if (primaryMimeTypes != null) 'primaryMimeTypes': primaryMimeTypes!,
      if (productId != null) 'productId': productId!,
      if (productUrl != null) 'productUrl': productUrl!,
      if (secondaryFileExtensions != null)
        'secondaryFileExtensions': secondaryFileExtensions!,
      if (secondaryMimeTypes != null)
        'secondaryMimeTypes': secondaryMimeTypes!,
      if (shortDescription != null) 'shortDescription': shortDescription!,
      if (supportsCreate != null) 'supportsCreate': supportsCreate!,
      if (supportsImport != null) 'supportsImport': supportsImport!,
      if (supportsMultiOpen != null) 'supportsMultiOpen': supportsMultiOpen!,
      if (supportsOfflineCreate != null)
        'supportsOfflineCreate': supportsOfflineCreate!,
      if (useByDefault != null) 'useByDefault': useByDefault!,
    };