toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final token = this.token;
  return {
    if (token != null) 'Token': token,
  };
}