toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (address != null) 'address': address!,
  if (diskUsed != null) 'diskUsed': diskUsed!,
  if (memoryRemaining != null) 'memoryRemaining': memoryRemaining!,
  if (memoryUsed != null) 'memoryUsed': memoryUsed!,
  if (offHeapMemoryRemaining != null)
    'offHeapMemoryRemaining': offHeapMemoryRemaining!,
  if (offHeapMemoryUsed != null) 'offHeapMemoryUsed': offHeapMemoryUsed!,
  if (onHeapMemoryRemaining != null)
    'onHeapMemoryRemaining': onHeapMemoryRemaining!,
  if (onHeapMemoryUsed != null) 'onHeapMemoryUsed': onHeapMemoryUsed!,
};