fromMap static method

Implementation

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