fromMap static method

ComponentCustomForm? fromMap(
  1. Object? body
)

Implementation

static ComponentCustomForm? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return ComponentCustomForm(
    columnCount: readInteger(source['column_count']),
    data: ComponentCustomFormData.fromMap(source['data']),
    id: readText(source['id']),
    object: readText(source['object']),
    templateName: readText(source['template_name']),
  );
}