fromMap static method

EmployeeContactName? fromMap(
  1. Object? body
)

Implementation

static EmployeeContactName? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return EmployeeContactName(
    designation: readAny(source['designation']),
    first: readText(source['first']),
    last: readText(source['last']),
    middle: readAny(source['middle']),
    salutation: readAny(source['salutation']),
  );
}