FloatyStateChannel<S> constructor
FloatyStateChannel<S> ({})
Creates a state channel for the main app side.
Implementation
factory FloatyStateChannel({
required Map<String, dynamic> Function(S state) toJson,
required S Function(Map<String, dynamic> json) fromJson,
required S initialState,
}) = FloatyStateChannel<S>._;