ResourceControllerParameter constructor Null safety

ResourceControllerParameter(
  1. {required String symbolName,
  2. required String? name,
  3. required BindingType location,
  4. required bool isRequired,
  5. required dynamic decoder(
    1. dynamic input
    )?,
  6. required Type type,
  7. required dynamic defaultValue,
  8. required List<String>? acceptFilter,
  9. required List<String>? ignoreFilter,
  10. required List<String>? requireFilter,
  11. required List<String>? rejectFilter}
)

Implementation

ResourceControllerParameter({
  required this.symbolName,
  required this.name,
  required this.location,
  required this.isRequired,
  required dynamic Function(dynamic input)? decoder,
  required this.type,
  required this.defaultValue,
  required this.acceptFilter,
  required this.ignoreFilter,
  required this.requireFilter,
  required this.rejectFilter,
}) : _decoder = decoder;