GetComponentResult.fromMap constructor
GetComponentResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetComponentResult.fromMap(Map<String, dynamic> map) {
return GetComponentResult(
arn: map['arn'] as String,
changeDescription: map['changeDescription'] as String,
data: map['data'] as String,
dateCreated: map['dateCreated'] as String,
description: map['description'] as String,
encrypted: map['encrypted'] as bool,
id: map['id'] as String,
kmsKeyId: map['kmsKeyId'] as String,
name: map['name'] as String,
owner: map['owner'] as String,
platform: map['platform'] as String,
region: map['region'] as String,
supportedOsVersions: (map['supportedOsVersions'] as List).cast<String>(),
tags: (map['tags'] as Map).cast<String, String>(),
type: map['type'] as String,
version: map['version'] as String,
);
}