fromMap static method

LabourProfileCurrency? fromMap(
  1. Object? body
)

Implementation

static LabourProfileCurrency? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return LabourProfileCurrency(
    code: readText(source['code']),
    href: readText(source['href']),
    id: readText(source['id']),
    name: readText(source['name']),
    object: readText(source['object']),
  );
}