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,
        currentOoms: json_.containsKey('currentOoms')
            ? json_['currentOoms'] 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,
      );