TokenResult.fromJson constructor

TokenResult.fromJson(
  1. Map? json
)

Implementation

TokenResult.fromJson(Map<dynamic, dynamic>? json) {
  token = json?['token'];
  error = json?['error'];
}