Source.fromJson constructor

Source.fromJson(
  1. Map json_
)

Implementation

Source.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        profileMetadata: json_.containsKey('profileMetadata')
            ? ProfileMetadata.fromJson(json_['profileMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );