GoogleAppsCardV1PlatformDataSource.fromJson constructor

GoogleAppsCardV1PlatformDataSource.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1PlatformDataSource.fromJson(core.Map json_)
    : this(
        commonDataSource: json_.containsKey('commonDataSource')
            ? json_['commonDataSource'] as core.String
            : null,
        hostAppDataSource: json_.containsKey('hostAppDataSource')
            ? HostAppDataSourceMarkup.fromJson(json_['hostAppDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
      );