GetImageResult.fromMap constructor

GetImageResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetImageResult.fromMap(Map<String, dynamic> map) {
  return GetImageResult(
    description: map['description'] as String,
    id: map['id'] as String,
    imageId: map['imageId'] as String,
    name: map['name'] as String,
    operatingSystemType: map['operatingSystemType'] as String,
    region: map['region'] as String,
    requiredTenancy: map['requiredTenancy'] as String,
    state: map['state'] as String,
  );
}