Преобразование json в модель
factory RegisterResponse.fromJson(Map<String, dynamic> json) => _$RegisterResponseFromJson(json);