lazy abstract method
Encodes the provided lazy data. Some platforms support providing the data
on demand. In which case the provider callback will be invoked when
the data is requested. On platforms that do not support this (iOS, web)
the provider callback will be called eagerly.
Implementation
FutureOr<EncodedData> lazy(DataProvider<T> provider);