GoogleFirebaseExtensionsV1betaExtensionVersion.fromJson constructor

GoogleFirebaseExtensionsV1betaExtensionVersion.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseExtensionsV1betaExtensionVersion.fromJson(core.Map _json)
    : this(
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        deleteTime: _json.containsKey('deleteTime')
            ? _json['deleteTime'] as core.String
            : null,
        deprecationMessage: _json.containsKey('deprecationMessage')
            ? _json['deprecationMessage'] as core.String
            : null,
        hash: _json.containsKey('hash') ? _json['hash'] as core.String : null,
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        ref: _json.containsKey('ref') ? _json['ref'] as core.String : null,
        releaseNotes: _json.containsKey('releaseNotes')
            ? _json['releaseNotes'] as core.String
            : null,
        sourceDownloadUri: _json.containsKey('sourceDownloadUri')
            ? _json['sourceDownloadUri'] as core.String
            : null,
        spec: _json.containsKey('spec')
            ? GoogleFirebaseExtensionsV1betaExtensionSpec.fromJson(
                _json['spec'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            _json.containsKey('state') ? _json['state'] as core.String : null,
      );