toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final amiId = this.amiId;
  final snowballAmiId = this.snowballAmiId;
  return {
    'AmiId': amiId,
    if (snowballAmiId != null) 'SnowballAmiId': snowballAmiId,
  };
}