isFieldIgnored method

bool isFieldIgnored (
  1. [dynamic value,
  2. Json classMeta,
  3. JsonProperty meta,
  4. DeserializationOptions options]
)

Implementation

bool isFieldIgnored(
        [dynamic value,
        Json classMeta,
        JsonProperty meta,
        DeserializationOptions options]) =>
    (meta != null &&
        (meta.ignore == true ||
            meta.ignoreIfNull == true && value == null)) ||
    ((classMeta != null && classMeta.ignoreNullMembers == true ||
            options is SerializationOptions &&
                options.ignoreNullMembers == true) &&
        value == null);