fromMap<T> method

AlifResponse<T> fromMap<T>(
  1. Map<String, dynamic> map
)

Implementation

p1.AlifResponse<T> fromMap<T>(Map<String, dynamic> map) => p1.AlifResponse(version: Mapper.i.$get(map, 'version'), timestamp: Mapper.i.$get(map, 'timestamp'), isSuccessful: Mapper.i.$get(map, 'isSuccessful'), errors: Mapper.i.$getOpt(map, 'errors') ?? const [], body: Mapper.i.$getOpt(map, 'body'));