ClassInfo<T> constructor

const ClassInfo<T>({
  1. required String tableName,
  2. required T fromJson(
    1. Map<String, dynamic> json
    ),
  3. required Map<String, dynamic> toJson(
    1. T
    ),
})

Implementation

const ClassInfo({
  required this.tableName,
  // required this.fromDbJson,
  // required this.toDbJson,
  required this.fromJson,
  required this.toJson,
}) : type = T;