MemoryInfo.fromJson constructor

MemoryInfo.fromJson(
  1. Map json_
)

Implementation

MemoryInfo.fromJson(core.Map json_)
    : this(
        totalInternalStorage: json_.containsKey('totalInternalStorage')
            ? json_['totalInternalStorage'] as core.String
            : null,
        totalRam: json_.containsKey('totalRam')
            ? json_['totalRam'] as core.String
            : null,
      );