getResult<T> method

GetResult<T>? getResult<T>({
  1. T? as,
  2. List<Function>? builders,
})

Create and return a Mappable result for T from String or Map

Implementation

GetResult<T>? getResult<T>({T? as, List<Function>? builders}) =>
    Mapper.fromData(this).toMappable<GetResult<T>>(
      as: GetResult<T>(),
      builders: (builders ?? []) + ($cast<Mappable>(as)?.builders ?? []),
    );