GetHeapUsageResult.fromJson constructor

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

Implementation

factory GetHeapUsageResult.fromJson(Map<String, dynamic> json) {
  return GetHeapUsageResult(
    usedSize: json['usedSize'] as num,
    totalSize: json['totalSize'] as num,
  );
}