toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'joined_at'] = this.joinedAt.toUtc().toIso8601String();
    json[r'role'] = this.role;
    json[r'user'] = this.user;
    json[r'user_session_id'] = this.userSessionId;
  return json;
}