toJson method

Map<String, dynamic> toJson()

Implementation

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