GoogleFirebaseExtensionsV1betaExtension.fromJson constructor

GoogleFirebaseExtensionsV1betaExtension.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseExtensionsV1betaExtension.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,
        iconUri: _json.containsKey('iconUri')
            ? _json['iconUri'] as core.String
            : null,
        latestVersion: _json.containsKey('latestVersion')
            ? _json['latestVersion'] as core.String
            : null,
        latestVersionCreateTime: _json.containsKey('latestVersionCreateTime')
            ? _json['latestVersionCreateTime'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        publisher: _json.containsKey('publisher')
            ? GoogleFirebaseExtensionsV1betaPublisherSummary.fromJson(
                _json['publisher'] as core.Map<core.String, core.dynamic>)
            : null,
        ref: _json.containsKey('ref') ? _json['ref'] as core.String : null,
        registryLaunchStage: _json.containsKey('registryLaunchStage')
            ? _json['registryLaunchStage'] as core.String
            : null,
        state:
            _json.containsKey('state') ? _json['state'] as core.String : null,
        visibility: _json.containsKey('visibility')
            ? _json['visibility'] as core.String
            : null,
      );