fromMap static method

SettingsApplication? fromMap(
  1. Object? body
)

Implementation

static SettingsApplication? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'application');
  if (source == null) return null;
  return SettingsApplication(
    createdBy: readAny(source['created_by']),
    createdOn: readText(source['created_on']),
    description: readText(source['description']),
    displayName: readText(source['display_name']),
    href: readText(source['href']),
    id: readText(source['id']),
    lastUpdatedBy: readAny(source['last_updated_by']),
    lastUpdatedOn: readText(source['last_updated_on']),
    name: readText(source['name']),
    object: readText(source['object']),
    status: readText(source['status']),
  );
}