fromMap static method

WorkflowCurrentVersion? fromMap(
  1. Object? body
)

Implementation

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