toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final id = this.id;
  final type = this.type;
  return {
    'Id': id,
    'Type': type.toValue(),
  };
}