WebAppConfig.fromJson constructor

WebAppConfig.fromJson(
  1. Map json_
)

Implementation

WebAppConfig.fromJson(core.Map json_)
    : this(
        apiKey: json_.containsKey('apiKey')
            ? json_['apiKey'] as core.String
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        authDomain: json_.containsKey('authDomain')
            ? json_['authDomain'] as core.String
            : null,
        databaseURL: json_.containsKey('databaseURL')
            ? json_['databaseURL'] as core.String
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        measurementId: json_.containsKey('measurementId')
            ? json_['measurementId'] as core.String
            : null,
        messagingSenderId: json_.containsKey('messagingSenderId')
            ? json_['messagingSenderId'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        storageBucket: json_.containsKey('storageBucket')
            ? json_['storageBucket'] as core.String
            : null,
      );