MemoryInfo.fromJson constructor

MemoryInfo.fromJson(
  1. Map _json
)

Implementation

MemoryInfo.fromJson(core.Map _json)
    : this(
        memoryCapInKibibyte: _json.containsKey('memoryCapInKibibyte')
            ? _json['memoryCapInKibibyte'] as core.String
            : null,
        memoryTotalInKibibyte: _json.containsKey('memoryTotalInKibibyte')
            ? _json['memoryTotalInKibibyte'] as core.String
            : null,
      );