defaultOf method

PropertyValue? defaultOf(
  1. String name
)

The declared default for property name, or null when the property has no default (throws when name is undeclared).

Implementation

PropertyValue? defaultOf(String name) =>
    propertySchema.firstWhere((d) => d.name == name).defaultValue;