fromMap static method

LabourLabourContactFax? fromMap(
  1. Object? body
)

Implementation

static LabourLabourContactFax? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return LabourLabourContactFax(
    areaCode: readText(source['area_code']),
    countryCode: readText(source['country_code']),
    doNotCall: readFlag(source['do_not_call']),
    full: readText(source['full']),
    number: readText(source['number']),
  );
}