toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final note = this.note;
  final violations = this.violations;
  return {'note': ?note, 'violations': ?violations};
}