ToWidgeCommandResult<TParam, TResult> extension Null safety

on

Methods

toWidget({required Widget onData(TResult result, TParam? param), Widget onNullData(TParam? param)?, Widget whileExecuting(TResult? lastResult, TParam? param)?, Widget onError(Object? error, TResult? lastResult, TParam? param)?}) Widget