Field constructor

const Field({
  1. required String name,
  2. required String? key,
})

{@template field}

Implementation

const Field({
  required this.name,
  required String? key,
}) : key = key ?? name;