AuthToken.fromJson constructor

AuthToken.fromJson(Map<String, dynamic> json)

Implementation

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