AttachedDisk.fromJson constructor

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

Implementation

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