Map<String, Object?> toJson() { var plain = this.plain; final json = <String, Object?>{}; json[r'plain'] = plain.toJson(); return json; }