connectionStatus property

  1. @JsonKey(name: 'is_online', fromJson: boolToConnectionStatus, toJson: connectionStatusToBool)
UserConnectionStatus connectionStatus
getter/setter pair

This user's connection status

Implementation

@JsonKey(
  name: 'is_online',
  fromJson: boolToConnectionStatus,
  toJson: connectionStatusToBool,
)
UserConnectionStatus connectionStatus;