fromMap static method

LabourLabourContactMobile? fromMap(
  1. Object? body
)

Implementation

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