read<V> method
Returns the current value for a related attribute, if available.
Implementation
@override
V? read<V>(dynamic attribute) {
if (attribute is DraftModeEntityField<TEntity, V>) {
return attribute.read(entity);
}
return attribute as V?;
}