fromMap static method

Implementation

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