FormField.duration constructor Null safety

const FormField.duration(
  1. {required String key,
  2. String? description,
  3. Duration? value}
)

Implementation

const factory FormField.duration({
  required String key,
  String? description,
  Duration? value,
}) = FormDurationField;