Ec2AmiResource.fromJson constructor

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

Implementation

factory Ec2AmiResource.fromJson(Map<String, dynamic> json) {
  return Ec2AmiResource(
    amiId: json['AmiId'] as String,
    snowballAmiId: json['SnowballAmiId'] as String?,
  );
}