ImageResult<T>.failure constructor

const ImageResult<T>.failure(
  1. String? error
)

Implementation

const ImageResult.failure(this.error) : data = null;