toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (userId != null) {
_json[r'user_id'] = userId;
}
if (status != null) {
_json[r'status'] = status;
}
if (manual != null) {
_json[r'manual'] = manual;
}
if (lastActivityAt != null) {
_json[r'last_activity_at'] = lastActivityAt;
}
return _json;
}