FieldModel.c3 constructor

FieldModel.c3({
  1. List<String>? fieldPath,
  2. dynamic fieldType,
  3. bool? nullable,
  4. FieldModel? child,
})

Implementation

factory FieldModel.c3({
  List<String>? fieldPath,
  dynamic? fieldType,
  bool? nullable,
  FieldModel? child,
}) {
  assert(fieldType != null);

  return FieldModel(
    fieldPath: fieldPath,
    fieldType: fieldType,
    nullable: nullable,
    child: child,
  );
}