toJson method

Map<String, dynamic> toJson()

Implementation

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