toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'newLevelId'] = newLevelId;
  json[r'oldLevelId'] = oldLevelId;
  return json;
}