MemoryMetrics.fromJson constructor

MemoryMetrics.fromJson(
  1. Map json_
)

Implementation

MemoryMetrics.fromJson(core.Map json_)
  : this(
      totalOffHeapStorageMemory:
          json_['totalOffHeapStorageMemory'] as core.String?,
      totalOnHeapStorageMemory:
          json_['totalOnHeapStorageMemory'] as core.String?,
      usedOffHeapStorageMemory:
          json_['usedOffHeapStorageMemory'] as core.String?,
      usedOnHeapStorageMemory:
          json_['usedOnHeapStorageMemory'] as core.String?,
    );