AuthResponse.fromJson constructor

AuthResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AuthResponse.fromJson(Map<String, dynamic> json) {
  return AuthResponse(
    token: json['token'],
  );
}