toJson method

Map<String, dynamic> toJson()

Implementation

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