virtualFields property

  1. @override
List<Field> get virtualFields
override

Implementation

@override
List<Field> get virtualFields {
  return [
    if (binaryDataFieldId != null && binaryDataFieldId!.isNotEmpty)
      BinaryField(
        name: '$name - Binary($binaryDataFieldId)',
        id: binaryDataFieldId,
      ),
  ];
}