toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var subject = this.subject;
  var operation = this.operation;

  final json = <String, Object?>{};
  json[r'subject'] = subject.toJson();
  json[r'operation'] = operation.value;
  return json;
}