toJson method

Map<String, Object?> toJson()

Implementation

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

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