deleteRule property Null safety

DeleteRule? deleteRule

The delete rule for this column if it is a foreign key column.

Undefined if not a foreign key column.

Implementation

DeleteRule? get deleteRule =>
    _deleteRule == null ? null : deleteRuleForDeleteRuleString(_deleteRule);
void deleteRule=(DeleteRule? t)

Implementation

set deleteRule(DeleteRule? t) {
  if (t == null) {
    _deleteRule = null;
  } else {
    _deleteRule = deleteRuleStringForDeleteRule(t);
  }
}