toModel<T> method

T toModel<T>()

Get the data as a model.

Implementation

T toModel<T>() {
  return dataToModel<T>(data: data);
}