copyWith property

FFPropWithMetadata<Prop> Function({Prop? prop, FFPropLoadingStateType? state}) get copyWith

Implementation

FFPropWithMetadata<Prop> Function({
  Prop? prop,
  FFPropLoadingStateType? state,
})
get copyWith =>
    ({Object? prop = Never, Object? state = Never}) => FFPropWithMetadata(
      prop: prop._or(this.prop),
      state: state._or(this.state),
    );