fullName static method
The full name of a contact, either by using the fullName property, or by concatenating the
firstName and lastName
properties
Implementation
static String? fullName(contact) => contact == null
? null
: Lists.firstOrNull(
Lists.compactEmpty(
[
Lists.compactEmpty([
contact["firstName"] as String,
contact["lastName"] as String,
]).join(" "),
contact["fullName"] as String,
],
),
);