TinkFieldReader typedef

TinkFieldReader = Future<T?> Function<T extends TinkEntity>(T creator(), dynamic)

Implementation

typedef TinkFieldReader = Future<T?> Function<T extends TinkEntity>(
  ///When called, should return a new instance of the entity with default or uninitalised values
  ///May not be called if the entity being requested has already been de-serialised.
  ///In such case, the existing entity will be returned by the resulting future
  T Function() creator,

  ///The value from which to inflate the object returned by [creator]
  dynamic,
);