DefaultResources.fromJson constructor

DefaultResources.fromJson(
  1. Map _json
)

Implementation

DefaultResources.fromJson(core.Map _json)
    : this(
        hostingSite: _json.containsKey('hostingSite')
            ? _json['hostingSite'] as core.String
            : null,
        locationId: _json.containsKey('locationId')
            ? _json['locationId'] as core.String
            : null,
        realtimeDatabaseInstance:
            _json.containsKey('realtimeDatabaseInstance')
                ? _json['realtimeDatabaseInstance'] as core.String
                : null,
        storageBucket: _json.containsKey('storageBucket')
            ? _json['storageBucket'] as core.String
            : null,
      );