singletonFwProto<T extends GeneratedMessage> method
Implementation
Future<Fw<T>> singletonFwProto<T extends GeneratedMessage>({
required int id,
required T Function() create,
T? defaultValue,
required DspReg disposers,
}) =>
singletonFw(
id: id,
bidi: BiDi.proto(create),
defaultValue: defaultValue ?? create()
..freeze(),
disposers: disposers,
);