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,
      );