IntegerGauge.fromJson constructor

IntegerGauge.fromJson(
  1. Map _json
)

Implementation

IntegerGauge.fromJson(core.Map _json)
    : this(
        timestamp: _json.containsKey('timestamp')
            ? _json['timestamp'] as core.String
            : null,
        value: _json.containsKey('value')
            ? SplitInt64.fromJson(
                _json['value'] as core.Map<core.String, core.dynamic>)
            : null,
      );