getObject<T> method

T getObject<T>(
  1. Map<String, dynamic> objectMap
)

Implementation

T getObject<T>(Map<String, dynamic> objectMap) {
  ClassMirror classMirror =
      AnnotationReflectable.reflectType(T) as ClassMirror;

  return RepositoryUtil.getEntityData(
      columns: this.columns,
      objectMap: objectMap,
      classMirror: classMirror) as T;
}