fromMap static method

ComponentByUuidParent? fromMap(
  1. Object? body
)

Implementation

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