GetProfilesProfilesResult.fromMap constructor

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

Implementation

factory GetProfilesProfilesResult.fromMap(Map<String, dynamic> map) {
  return GetProfilesProfilesResult(
    profiles: (() { final guardedValue = map['profiles']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetProfilesProfilesProfile>(guardedValue, (value) => GetProfilesProfilesProfile.fromMap((value as Map).cast<String, dynamic>())); })(),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
  );
}