DynaType constructor

DynaType({
  1. required String key,
  2. required Type type,
})

Creates a new instance of DynaType.

  • key: The name of the field.
  • type: The expected data type of the field.

Implementation

DynaType({required this.key, required this.type});