Settings.fromJson constructor
Settings.fromJson(
- Map json_
Implementation
Settings.fromJson(core.Map json_)
: this(
defaultSinkConfig: json_.containsKey('defaultSinkConfig')
? DefaultSinkConfig.fromJson(json_['defaultSinkConfig']
as core.Map<core.String, core.dynamic>)
: null,
disableDefaultSink: json_.containsKey('disableDefaultSink')
? json_['disableDefaultSink'] as core.bool
: null,
kmsKeyName: json_.containsKey('kmsKeyName')
? json_['kmsKeyName'] as core.String
: null,
kmsServiceAccountId: json_.containsKey('kmsServiceAccountId')
? json_['kmsServiceAccountId'] as core.String
: null,
loggingServiceAccountId: json_.containsKey('loggingServiceAccountId')
? json_['loggingServiceAccountId'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
storageLocation: json_.containsKey('storageLocation')
? json_['storageLocation'] as core.String
: null,
);