FieldsDecorator constructor
      
      FieldsDecorator({ 
    
    
- TitleFieldType? type,
- String? decorator,
- String? value,
Implementation
factory FieldsDecorator({
  TitleFieldType? type,
  String? decorator,
  String? value,
}) {
  if (type == null && decorator != null) {
    return FieldsDecorator.decorator(decorator);
  } else if (type == TitleFieldType.fieldsDecorator && value != null) {
    return FieldsDecorator.decorator(value);
  }
  return const FieldsDecorator._(decorator: null, type: null);
}