toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (userId != null) {
_json[r'user_id'] = userId;
}
if (action != null) {
_json[r'action'] = action;
}
if (extraInfo != null) {
_json[r'extra_info'] = extraInfo;
}
if (ipAddress != null) {
_json[r'ip_address'] = ipAddress;
}
if (sessionId != null) {
_json[r'session_id'] = sessionId;
}
return _json;
}