DataExchange.fromJson constructor

DataExchange.fromJson(
  1. Map json_
)

Implementation

DataExchange.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        documentation: json_.containsKey('documentation')
            ? json_['documentation'] as core.String
            : null,
        icon: json_.containsKey('icon') ? json_['icon'] as core.String : null,
        listingCount: json_.containsKey('listingCount')
            ? json_['listingCount'] as core.int
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        primaryContact: json_.containsKey('primaryContact')
            ? json_['primaryContact'] as core.String
            : null,
        sharingEnvironmentConfig:
            json_.containsKey('sharingEnvironmentConfig')
                ? SharingEnvironmentConfig.fromJson(
                    json_['sharingEnvironmentConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );