RuntimeSettings.fromJson constructor
RuntimeSettings.fromJson(
- Map<String, dynamic> jsonSerialization
)
Implementation
factory RuntimeSettings.fromJson(Map<String, dynamic> jsonSerialization) {
return RuntimeSettings(
id: jsonSerialization['id'] as int?,
logSettings: _i2.LogSettings.fromJson(
(jsonSerialization['logSettings'] as Map<String, dynamic>)),
logSettingsOverrides: (jsonSerialization['logSettingsOverrides'] as List)
.map((e) =>
_i3.LogSettingsOverride.fromJson((e as Map<String, dynamic>)))
.toList(),
logServiceCalls: jsonSerialization['logServiceCalls'] as bool,
logMalformedCalls: jsonSerialization['logMalformedCalls'] as bool,
);
}