RuntimeInfo.fromJson constructor
RuntimeInfo.fromJson(
- Map json_
Implementation
RuntimeInfo.fromJson(core.Map json_)
: this(
approximateUsage: json_.containsKey('approximateUsage')
? UsageMetrics.fromJson(json_['approximateUsage']
as core.Map<core.String, core.dynamic>)
: null,
currentUsage: json_.containsKey('currentUsage')
? UsageSnapshot.fromJson(
json_['currentUsage'] as core.Map<core.String, core.dynamic>)
: null,
diagnosticOutputUri: json_.containsKey('diagnosticOutputUri')
? json_['diagnosticOutputUri'] as core.String
: null,
endpoints: json_.containsKey('endpoints')
? (json_['endpoints'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
outputUri: json_.containsKey('outputUri')
? json_['outputUri'] as core.String
: null,
);