Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'access_token'] = this.accessToken; json[r'duration'] = this.duration; json[r'user'] = this.user; return json; }