AdminSdkConfig.fromJson constructor

AdminSdkConfig.fromJson(
  1. Map _json
)

Implementation

AdminSdkConfig.fromJson(core.Map _json)
    : this(
        databaseURL: _json.containsKey('databaseURL')
            ? _json['databaseURL'] as core.String
            : null,
        locationId: _json.containsKey('locationId')
            ? _json['locationId'] as core.String
            : null,
        projectId: _json.containsKey('projectId')
            ? _json['projectId'] as core.String
            : null,
        storageBucket: _json.containsKey('storageBucket')
            ? _json['storageBucket'] as core.String
            : null,
      );