getAliases static method
Implementation
static List<String>? getAliases(JsonProperty? jsonProperty) =>
jsonProperty != null &&
jsonProperty.name is Iterable &&
jsonProperty.name.length > 1
? jsonProperty.name
.where((x) => x != getPrimaryName(jsonProperty))
.toList()
.cast<String>()
: [];