toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'token'] = token;
  json[r'creationTime'] = creationTime;
  json[r'validity'] = validity;
  return json;
}