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