GoogleFirebaseExtensionsV1betaExtensionSource.fromJson constructor

GoogleFirebaseExtensionsV1betaExtensionSource.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseExtensionsV1betaExtensionSource.fromJson(core.Map _json)
    : this(
        extensionRoot: _json.containsKey('extensionRoot')
            ? _json['extensionRoot'] as core.String
            : null,
        fetchTime: _json.containsKey('fetchTime')
            ? _json['fetchTime'] as core.String
            : null,
        hash: _json.containsKey('hash') ? _json['hash'] as core.String : null,
        lastOperationName: _json.containsKey('lastOperationName')
            ? _json['lastOperationName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        packageUri: _json.containsKey('packageUri')
            ? _json['packageUri'] 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,
      );