toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final Map<String, dynamic> data = {};
  data['totalMemory'] = totalMemory;
  data['availableMemory'] = availableMemory;
  data['usedMemory'] = usedMemory;
  return data;
}