isDefaultValue static method

bool isDefaultValue(
  1. JsonProperty? jsonProperty,
  2. dynamic value
)

Implementation

static bool isDefaultValue(JsonProperty? jsonProperty, dynamic value) =>
    jsonProperty != null && (jsonProperty.defaultValue == value);