make<T> static method

ResourceControllerParameter make<T>({
  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 dynamic defaultValue,
  7. required List<String>? acceptFilter,
  8. required List<String>? ignoreFilter,
  9. required List<String>? requireFilter,
  10. required List<String>? rejectFilter,
})

Implementation

static ResourceControllerParameter make<T>({
  required String symbolName,
  required String? name,
  required BindingType location,
  required bool isRequired,
  required dynamic Function(dynamic input) decoder,
  required dynamic defaultValue,
  required List<String>? acceptFilter,
  required List<String>? ignoreFilter,
  required List<String>? requireFilter,
  required List<String>? rejectFilter,
}) {
  return ResourceControllerParameter(
    symbolName: symbolName,
    name: name,
    location: location,
    isRequired: isRequired,
    decoder: decoder,
    type: T,
    defaultValue: defaultValue,
    acceptFilter: acceptFilter,
    ignoreFilter: ignoreFilter,
    requireFilter: requireFilter,
    rejectFilter: rejectFilter,
  );
}