toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (actorUserId != null) 'actorUserId': actorUserId!,
if (state != null) 'state': state!,
if (stateTimestamp != null) 'stateTimestamp': stateTimestamp!,
};