toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attributeName = this.attributeName;
  final attributeType = this.attributeType;
  return {
    if (attributeName != null) 'AttributeName': attributeName,
    if (attributeType != null) 'AttributeType': attributeType.toValue(),
  };
}