toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final iamRoleArn = this.iamRoleArn;
  final selectionName = this.selectionName;
  final listOfTags = this.listOfTags;
  final resources = this.resources;
  return {
    'IamRoleArn': iamRoleArn,
    'SelectionName': selectionName,
    if (listOfTags != null) 'ListOfTags': listOfTags,
    if (resources != null) 'Resources': resources,
  };
}