ImagesApi class Null safety
Interface for implementing image-fetching strategies, specific to a resource location on the internet.
Since I used a site that was more obscure than the ones in the examples, this (otherwise pointless and convoluting) interface is for adding a bit of flexibility to change strategy to some other site.
- Implementers
Constructors
Properties
- hashCode → int
- 
  The hash code for this object.
  read-only, inherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  read-only, inherited
Methods
- 
  fetchImageUri({required String token}) → FutureOr< Iterable< ImageModelDTO> >
- Returns images fetched through an API as ImageModelDTOs.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a non-existent method or property is accessed.
  inherited
- 
  searchImages({required String searchStr, required String token}) → FutureOr< Iterable< ImageModelDTO> >
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited