toJson method
Implementation
Map<String, Object?> toJson() {
final mChangePassword = this.mChangePassword;
final mRoomVersions = this.mRoomVersions;
return {
...additionalProperties,
if (mChangePassword != null)
'm.change_password': mChangePassword.toJson(),
if (mRoomVersions != null) 'm.room_versions': mRoomVersions.toJson(),
};
}