when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult success(
- ApklisModel result
- required TResult failure(
- ApklisErrorModel error
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ApklisModel result) success,
required TResult Function(ApklisErrorModel error) failure,
}) =>
throw _privateConstructorUsedError;