Auth.fromJson constructor

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

Implementation

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