Map<String, dynamic> toMap() { return PgrWorkflowModelMapper.ensureInitialized() .encodeMap<PgrWorkflowModel>(this as PgrWorkflowModel); }