GetSelectionResult.fromMap constructor

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

Implementation

factory GetSelectionResult.fromMap(Map<String, dynamic> map) {
  return GetSelectionResult(
    iamRoleArn: map['iamRoleArn'] as String,
    id: map['id'] as String,
    name: map['name'] as String,
    planId: map['planId'] as String,
    region: map['region'] as String,
    resources: (map['resources'] as List).cast<String>(),
    selectionId: map['selectionId'] as String,
  );
}