MemInfo.fromJson constructor

MemInfo.fromJson(
  1. Map _json
)

Implementation

MemInfo.fromJson(core.Map _json)
    : this(
        currentLimitBytes: _json.containsKey('currentLimitBytes')
            ? _json['currentLimitBytes'] as core.String
            : null,
        currentRssBytes: _json.containsKey('currentRssBytes')
            ? _json['currentRssBytes'] as core.String
            : null,
        timestamp: _json.containsKey('timestamp')
            ? _json['timestamp'] as core.String
            : null,
        totalGbMs: _json.containsKey('totalGbMs')
            ? _json['totalGbMs'] as core.String
            : null,
      );