register method

Future<String> register(
  1. Map<String, dynamic> json
)

Implementation

Future<String> register(Map<String, dynamic> json) async {
  //final registerDto = RegisterRequestDto.fromJson(json);
  final repository = UserRepository();
  final message = await repository.register(json);
  return message;
}