EnterpriseCrmEventbusStats.fromJson constructor
EnterpriseCrmEventbusStats.fromJson(
- Map json_
Implementation
EnterpriseCrmEventbusStats.fromJson(core.Map json_)
: this(
dimensions: json_.containsKey('dimensions')
? EnterpriseCrmEventbusStatsDimensions.fromJson(
json_['dimensions'] as core.Map<core.String, core.dynamic>)
: null,
durationInSeconds: json_.containsKey('durationInSeconds')
? (json_['durationInSeconds'] as core.num).toDouble()
: null,
errorRate: json_.containsKey('errorRate')
? (json_['errorRate'] as core.num).toDouble()
: null,
qps: json_.containsKey('qps')
? (json_['qps'] as core.num).toDouble()
: null,
warningRate: json_.containsKey('warningRate')
? (json_['warningRate'] as core.num).toDouble()
: null,
);