MemoryInfo.fromJson constructor

MemoryInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MemoryInfo.fromJson(Map<String, dynamic> json) {
  return MemoryInfo(
    sizeInMiB: json['sizeInMiB'] as int?,
  );
}