toLoading method

Result<T> toLoading({
  1. T? data,
  2. DateTime? lastUpdate,
})

Attempts to convert the result to Loading.

Implementation

Result<T> toLoading({T? data, DateTime? lastUpdate}) => value = value.toLoading(data: data, lastUpdate: lastUpdate);