RuntimeMetrics.fromJson constructor

RuntimeMetrics.fromJson(
  1. Map json_
)

Implementation

RuntimeMetrics.fromJson(core.Map json_)
    : this(
        systemMetrics: json_.containsKey('systemMetrics')
            ? (json_['systemMetrics'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );