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