includeBinaryField property

bool Function(String fieldName, Map<String, dynamic> rowData)? includeBinaryField
final

Optional per-row callback to decide whether a binary field should be encoded and included in the sync payload.

Receives the field name and the full row data map. Return true to include the field (default behavior when the callback is null), return false to exclude the field from the row data before base64 encoding.

When this callback is null (default), every binary field is encoded as before — backward compatible.

Implementation

final bool Function(String fieldName, Map<String, dynamic> rowData)?
    includeBinaryField;