get method

Future<PlanModel> get (
  1. {String id,
  2. String customApiToken}
)

Implementation

Future<PlanModel> get({String id, String customApiToken}) async {
  var result =
      await apiResource.getById(id: id, apiUserToken: customApiToken);
  return PlanModel.fromMap(result);
}